package com.lotter.quartz;

import org.apache.log4j.Logger;

import com.lotter.common.context.ApplicationContextHelper;
import com.lotter.service.FianceStatisService;

public class QuartzFinanceJob {
	
	private static Logger logger = Logger.getLogger(QuartzFinanceJob.class);
			
	public void doFianceQuartz(){
		logger.info("-----------财务统计-quartz---begin------------");
		dowork();
		logger.info("-----------财务统计-quartz---end------------");
	}
	
	private void dowork(){
		FianceStatisService fianceStatisService = 
				(FianceStatisService)ApplicationContextHelper.getApplicationContext().getBean("fianceStatisService");
		fianceStatisService.fianceStatisWork();
	}
}
